package com.wzy.springcloud.service;

import com.wzy.springcloud.entities.CommonResult;
import com.wzy.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentServiceImpl implements PaymentService {
    @Override
    public CommonResult<Payment> payment(Long id) {

        return new CommonResult<>(44444, "服务降级返回 PaymentServiceImpl", new Payment(id, "errorSerial"));
    }
}
